package com.eckey.lab.enums;

/**
 * @Author: Marinc
 * @CreateTime: 2023-12-15  09:30
 * @Description: TODO
 * @Version: 1.0
 */
public enum UserState {

    /**
     * 事务状态 0：try，1：confirm，2：cancel
     */

    TRY(0, "try"),
    CONFIRM(1, "confirm"),
    CANCEL(2, "cancel");

    UserState(Integer value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    private Integer value;

    private String msg;


    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
